package com.dfrz.problem.service;

import com.dfrz.problem.model.SysAdmin;
import com.dfrz.problem.utils.Result;

public interface SysAdminService {
	
	/**
	 * 修改管理员密码
	 * @param email
	 * @param pwd
	 * @return
	 */
	public boolean updatePwd(String email,String pwd);

	/**
	 * 检验密码输入是否正确
	 * @param password
	 * @param employeeEmail
	 * @return
	 */
	public boolean checkPwd(String password, String employeeEmail);

	/**
	 * 新增管理员
	 * @param admin
	 */
	public Result<SysAdmin> addSysAdmin(SysAdmin admin);
}
